package com.gewu.advertisement.core.model

/**
 * @author htt 2021/1/7
 */
data class ApiResponse<T>(
    val code: Int = 0, // 0=成功 其他=失败
    val data: T? = null,
    val msg: String = ""
) {
    val isSuccess:Boolean
        get() = code == 0
}